package JavaBase;

public class Dog extends Animal{
    private int toothNUm;
    public Dog(String name,int toothNum)
    {
        super(name);
        this.toothNUm=toothNum;
    }
    public void printShow()
    {
        System.out.print("狗狗");
        super.printShow();
        System.out.println("牙齿数量："+this.toothNUm);
    }
    public void mind_the_house()
    {
        System.out.println("本领：看家");
    }

}
